
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,height=device-height"/>
    <meta name="format-detection" content="telephone=no">
    <!--<link rel="stylesheet" href="{:RES}/jinrong/Mobile/Public/css/ucenter.css">-->
    <link rel="stylesheet" href="{:RES}/jinrong/Mobile/Public/css/chart/resource.css">
    <link rel="stylesheet" href="{:RES}/jinrong/Mobile/Public/css/chart/nav.css">
    <link rel="styleSheet" href="{:RES}/jinrong/Mobile/Public/css/chart/layer.css" type="text/css" id="layermcss">
    <script src="{:RES}/jinrong/Mobile/Public/js/jquery-1.11.3.min.js"></script>
    <script src="{:RES}/jinrong/Mobile/Public/js/buy.js"></script>
    <style>
        html,body {
            height:100%;
            margin-bottom: 60px;
        }
    </style>
    <script>
        $(document).ready(function(){
            if( $("#headimg").attr("src") == "" )
            {
                $("#headimg").css("border","none");
            }
        });
    </script>
</head>
<title>个人中心</title>
<script type="text/javascript">
    var ROOT = '';
</script>
<body onselectstart="return false;" oncontextmenu="self.event.returnValue=false;">


<include file="Public:loading"/>
<div class="controller">
    <!--页面主体内容区域编辑开始-->
    <section>
        <div class="personal_content">
            <!--<a href='/Members/bindIdCard'>
            <p class="sm_rz sm_rz_not">
                    未實名認證
            </p>
            </a>-->
            <div class="personal_in">
                <ul>
                    <li class="backborder1"><a onclick="recharge();">充值</a></li>
                    <li style="height: 100px;">
                        <img id="headimg" src="{$user['headimgurl']}"/>
                        <!--<image id="headimg" src="http://aone.qk092.com/resources/images/corps.png"></image>-->
                        <span style="color: #fff;">{$user['wechat_name']}</span>
                    </li>
                    <li class="backborder2"><a onclick="cash();">提現</a></li>
                </ul>
            </div>
            <div class="personal_in_last">
                <ol>
                    <li>
                        <b>{$trade_amount}元</b>
                        <span>交易总额</span>
                    </li>
                    <li>
                        <b>{$money}元</b>
                        <span>帐号余额</span>
                    </li>
                    <li>
                        <u>{$trade_count}</u>
                        <span>交易总数</span>
                    </li>
                </ol>
            </div>
        </div>
        <!--<div class="water">-->
        <!--<div class="water-1"></div>-->
        <!--<div class="water-2"></div>-->
        <!--</div>-->
        <div class="personal_all">
            <ul>
                <li><a href="{:U('User/person')}">个人信息</a></li>
                <li><a href="{:U('User/bank_water?type=recharge')}">充值记录</a></li>
                <li><a href="{:U('User/bank_water?type=deposit')}">提现记录</a></li>
                <li><a href="{:U('User/history')}">交易记录</a></li>
                <!--<li><a href="javascript:_gPage('/Members/message')">我的消息</a></li>-->
                <li><a href="javascript:doRevieTut();">新手教程</a></li>
                <li><a href="{:U('User/help')}">帮助</a></li>
                <li><a href="{:U('User/setting')}">设置</a></li>
                <li><a href="{:U('User/setting')}" style="visibility:hidden;">设置</a></li>
                <li><a href="{:U('User/setting')}" style="visibility:hidden;">设置</a></li>
            </ul>
        </div>

    </section>
    <nav>
        <div class="border-bottom"></div>
        <ul>
            <li class="nav_icon1"><a href="{:U('Trading/index')}">首页</a></li>
            <li class="nav_icon2"><a href="{:U('User/corps')}">战队</a></li>
            <li class="nav_icon3"><a href="{:U('User/help')}">帮助</a></li>
            <li class="nav_icon4 current current4"><a href="{:U('User/private_person')}">用户中心</a></li>
        </ul>
    </nav>


</div>
</body>
<script type="text/javascript">
    //        var page_controller;
    $(function(){
//    document.addEventListener('touchmove',function(e){
//        e.preventDefault();
//        //e.returnValue = true;
//    },false);
//    page_controller = new IScroll('.controller',{
//        mouseWheel: true,
//        bounce:false,
//            click:true
//});
    });
    function doRevieTut(){
        var test = window.location.href;
        var index = test.indexOf("User/private_perso");
        var test2 = test.slice(0,index);
        var test3 = test2+"Trading/index.html?novice=novice";
        window.location = test3;
    }

    function recharge(){
        check_login(function () {
            window.location = "/Wap/User/recharge";
        });
        return false;
    }
    function cash()
    {
        check_login(function () {
            window.location = "/Wap/User/cashOut";
        });
        return false;
    }


</script>

<script src="{:RES}/jinrong/Mobile/Public/js/loading.js"></script>